package com.struts2.student.dao;

import java.util.List;

import com.struts2.dao.DaoImpl;
import com.struts2.student.entity.Classes;

public class ClassesDaoImpl extends DaoImpl implements ClassesDao{
	/**
	 * 查询班级信息
	 */
	public List<Classes> findClasses() {
		String hql = "from  Classes";
		List<Classes> classesList = super.queryHql(hql);

		return classesList;
	}
	
}
